package com.dmc.hrl.service.impl;

import com.dmc.hrl.dao.mapper.TbUserMapper;
import com.dmc.hrl.domain.pojo.TbUser;
import com.dmc.hrl.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl  implements UserService{

    @Autowired
    private TbUserMapper tbUserMapper;

    @Override
    public  List<TbUser> findAll(){
        return tbUserMapper.selectByExample(null);
    }

}
